{
  path: '/',
    component: Layout,
      redirect: '/dashboard',
        children: [{
          path: 'dashboard',
          component: () =>
            import('@/views/dashboard/index'),
          name: '首页',
          meta: {
            title: '首页',
            icon: 'iconfont iconshouye',
            affix: true
          }
        },
        {
          path: 'dashboard/employList',
          component: () =>
            import('@/views/dashboard/employList'),
          name: 'DashboardList',
          meta: {
            title: '录用日程',
            noCache: true,
            activeMenu: '/dashboard'
          },
          hidden: true
        },
        {
          path: 'dashboard/interviewList',
          component: () =>
            import('@/views/dashboard/interviewList'),
          name: 'InterviewList',
          meta: {
            title: '面试日程',
            noCache: true,
            activeMenu: '/dashboard'
          },
          hidden: true
        }
        ]
},
{
  path: '/vipcompany',
    component: Layout,
      children: [{
        path: 'index',
        component: () =>
          import('@/views/vipcompany/index'),
        name: 'Vipcompany',
        meta: {
          title: '企业管理',
          icon: 'iconfont iconqiye2',
          affix: true
        }
      }]
},
{
  path: '/special-session',
    redirect: '/special-session',
      component: Layout,
        children: [{
          path: '/special-session',
          component: () =>
            import('@/views/special-session/index'),
          name: 'special-session',
          meta: {
            title: '专场管理',
            icon: 'iconfont iconzhaopin',
            affix: true
          }
        },
        {
          path: 'details',
          name: 'specialSessionDetails',
          hidden: true,
          component: () =>
            import('@/views/special-session/components/details'),
          meta: {
            activeMenu: '/special-session'
          }
        }
        ]
},
{
  path: '/positionmanage',
    component: Layout,
      children: [{
        path: 'index',
        component: () =>
          import('@/views/positionmanage/index'),
        name: 'positionmanage',
        meta: {
          title: '职位管理',
          icon: 'iconfont iconzhiwei',
          affix: true
        }
      }]
},
// 人才库
{
  path: '/Talent-pool',
    component: Layout,

      meta: {
    title: '人才库',
      icon: 'iconfont iconrencaiku',
        affix: true
  },
  children: [{
    path: 'seekers',
    component: () =>
      import('@/views/Talent-pool/seekers'),
    name: 'seekers',
    meta: {
      title: '候选人',
      affix: true
    }
  },
  {
    path: 'index',
    component: () =>
      import('@/views/Talent-pool/index'),
    name: 'Talent-pool',
    meta: {
      title: '人才库',
      affix: true
    }
  }
  ]
},
//  消息
{
  path: '/news',
    component: Layout,
      redirect: '/news/index',
        children: [{
          path: 'index',
          component: () =>
            import('@/views/news/index'),
          name: 'News',
          meta: {
            title: '消息',
            icon: 'iconfont iconmeirixiaoxituisong',
            noCache: true
          }
        }]
},
{
  path: '/charts',
    component: Layout,
      meta: {
    title: '数据报表',
      icon: 'iconfont iconbaobiao'
  },
  children: [{
    path: 'progress',
    component: () =>
      import('@/views/charts/progress'),
    name: 'Progress',
    meta: {
      title: '招聘进度及发布岗位',
      // icon: 'chart',
      affix: true
    }
  }, {
    path: 'analyse',
    component: () =>
      import('@/views/charts/analyse'),
    name: 'Analyse',
    meta: {
      title: '招聘环节分析',
      // icon: 'el-icon-s-marketing',
      affix: true
    }
  }, {
    path: 'resumeStatis',
    component: () =>
      import('@/views/charts/resumeStatis'),
    name: 'ResumeStatis',
    meta: {
      title: '简历量统计',
      // icon: 'el-icon-reading',
      affix: true
    }
  }, {
    path: 'industryStatis',
    component: () =>
      import('@/views/charts/industryStatis'),
    name: 'IndustryStatis',
    meta: {
      title: '行业招聘数据统计',
      // icon: 'el-icon-wind-power',
      affix: true
    }
  }, {
    path: 'areaStatis',
    component: () =>
      import('@/views/charts/areaStatis'),
    name: 'AreaStatis',
    meta: {
      title: '地区招聘数据统计',
      // icon: 'el-icon-map-location',
      affix: true
    }
  }, {
    path: 'fillInInfo',
    component: () =>
      import('@/views/charts/fillInInfo'),
    name: 'fillInInfo',
    meta: {
      title: '采集信息报表',
      // icon: 'el-icon-map-location',
      affix: true
    }
  }]
},
{
  path: '/setting-recruit',
    component: Layout,
      children: [{
        path: 'index',
        component: () =>
          import('@/views/setting-recruit/index'),
        name: 'setting-recruit',
        meta: {
          title: '同事管理',
          icon: 'iconfont iconSetup',
          affix: true
        }
      }]
},
// 内容管理
{
  path: '/content-management',
    component: Layout,
      children: [{
        path: 'groupList',
        query: {
          channelId: 'group'
        },
        component: () =>
          import('@/views/content-management/list'),
        name: 'clique-dynamics',
        meta: {
          title: '集团动态',
          affix: true
        } // meta: { title: '集团动态', affix: true }
      },

      {
        path: 'noticeList',
        query: {
          channelId: 'notice'
        },
        component: () =>
          import('@/views/content-management/list'),
        name: 'job-board',
        meta: {
          title: '招聘公告',
          affix: true
        }
      },
      {
        path: 'reportList',
        query: {
          channelId: 'report'
        },
        component: () =>
          import('@/views/content-management/list'),
        name: 'industry-data-report',
        meta: {
          title: '行业数据报告',
          affix: true
        }
      },
      {
        path: 'interviewList',
        query: {
          channelId: 'interview'
        },
        component: () =>
          import('@/views/content-management/list'),
        name: 'interview-skills',
        meta: {
          title: '面试技巧',
          affix: true
        }
      }
      ],
        meta: {
    title: '内容管理',
      icon: 'iconfont iconneirongguanli',
        affix: true
  }
},

// 招聘网配置
{
  path: '/settings',
    component: Layout,
      name: 'settings',
        children: [{
          path: '/settings/banner',
          component: () =>
            import('@/views/settings/banner'),
          name: 'banner',
          children: [{
            path: 'home',
            query: {
              id: blockCode['首页推荐banner'],
              bw: 720,
              bh: 420
            },
            name: 'bannerHome',
            meta: {
              title: '首页banner推荐位',
              affix: true
            },
            component: () =>
              import('@/views/settings/banner/home')
          },
          {
            path: 'school',
            name: 'bannerSchool',
            query: {
              id: blockCode['校园首页推荐banner'],
              bw: 940,
              bh: 420
            },
            meta: {
              title: '校园页面banner推荐位',
              affix: true
            },
            component: () =>
              import('@/views/settings/banner/home')
          },
          {
            path: 'special',
            name: 'bannerSpecial',
            query: {
              id: blockCode['专场推荐banner'],
              bw: 1920,
              bh: 500
            },
            meta: {
              title: '专场页面banner推荐位',
              affix: true
            },
            component: () =>
              import('@/views/settings/banner/home')
          }
          ],
          meta: {
            title: 'banner推荐位管理',
            affix: true
          }
        },
        {
          path: '/settings/special',
          component: () =>
            import('@/views/settings/special'),
          name: 'special',
          children: [{
            path: '/settings/special/home',
            name: 'specialHome',
            query: {
              id: blockCode['首页专场推荐']
            },
            meta: {
              title: '首页专场推荐',
              affix: true
            },
            component: () =>
              import('@/views/settings/special/list')
          },
          {
            path: '/settings/special/school',
            name: 'specialSchool',
            query: {
              id: blockCode['校园专场推荐']
            },
            meta: {
              title: '校园专场推荐',
              affix: true
            },
            component: () =>
              import('@/views/settings/special/list')
          }
          ],
          meta: {
            title: '专场推荐管理',
            affix: true
          }
        },

        {
          path: '/settings/cms_content',
          component: () =>
            import('@/views/settings/cms_content/list'),
          name: 'informationFeaturedFirst',
          children: [{
            path: '/settings/cms_content/noticeHome',
            name: 'noticeHome',
            query: {
              id: 'b-index-notice',
              channelId: 'notice'
            },
            meta: {
              title: '首页招聘公告',
              affix: true
            }, // 即招聘公告
            component: () =>
              import('@/views/settings/cms_content/list')
          },
          {
            path: '/settings/cms_content/newsHome',
            name: 'newsHome',
            query: {
              id: 'b-index-news',
              channelId: 'group'
            },
            meta: {
              title: '首页动态/资讯',
              affix: true
            },
            component: () =>
              import('@/views/settings/cms_content/list')
          },
          {
            path: '/settings/cms_content/newsGroup',
            name: 'newsGroup',
            query: {
              id: 'b-group',
              channelId: 'group'
            },
            meta: {
              title: '动态资讯-集团动态',
              affix: true
            },
            component: () =>
              import('@/views/settings/cms_content/list')
          },
          {
            path: '/settings/cms_content/noticeNews',
            name: 'noticeNews',
            query: {
              id: 'b-notice',
              channelId: 'notice'
            },
            meta: {
              title: '动态资讯-招聘公告',
              affix: true
            },
            component: () =>
              import('@/views/settings/cms_content/list')
          },
          {
            path: '/settings/cms_content/industryNews',
            name: 'industryNews',
            query: {
              id: 'b-report',
              channelId: 'report'
            },
            meta: {
              title: '动态资讯-行业数据报告',
              affix: true
            },
            component: () =>
              import('@/views/settings/cms_content/list')
          },
          {
            path: '/settings/cms_content/interviewKnowledge',
            name: 'interviewKnowledge',
            query: {
              id: 'b-interview',
              channelId: 'interview'
            },
            meta: {
              title: '动态资讯-面试技巧',
              affix: true
            },
            component: () =>
              import('@/views/settings/cms_content/list')
          }
          ],
          meta: {
            title: '动态资讯推荐管理',
            affix: true
          }
        },
        {
          path: '/settings/company',
          name: 'settingsCompany',
          component: () => import('@/views/settings/company/list'),
          children: [{
            path: '/settings/company/home',
            query: {
              id: blockCode['首页热门企业']
            },
            name: 'companyHome',
            meta: {
              title: '首页热门企业推荐',
              affix: true
            },
            component: () =>
              import('@/views/settings/company/list')
          },
          {

            path: '/settings/company/school',
            name: 'companyScholl',
            query: {
              id: blockCode['校园推荐企业']
            },
            meta: {
              title: '校园页面企业推荐',
              affix: true
            },
            component: () =>
              import('@/views/settings/company/list')
          }
          ],
          meta: {
            title: '企业推荐管理',
            affix: true
          }
        },
        {
          path: '/settings/hotSearch',
          component: () =>
            import('@/views/settings/hot-search'),
          name: 'hotSearch',
          query: {
            id: blockCode['热门搜索']
          },
          meta: {
            title: '热门搜索',
            affix: true
          }
        },
        {
          path: '/settings/hotPosition',
          component: () =>
            import('@/views/settings/position/list'),
          name: 'hotPosition',
          query: {
            id: blockCode['推荐职位']
          },
          meta: {
            title: '热门职位',
            affix: true
          }
        },
        {
          path: '/block/tree',
          name: '/block/tree',
          meta: {
            title: '二级导航',
            affix: true
          },
          component: () => import('@/views/settings/tree/list'),
          children: [{
            path: '/block/tree/b-index-tree-job/end',
            component: () =>
              import('@/views/settings/tree/list'),
            name: 'b-index-tree-job',
            meta: {
              title: '行业/岗位',
              affix: true
            }
          },
          {
            path: '/block/tree/b-index-tree-major/end',
            component: () =>
              import('@/views/settings/tree/list'),
            name: 'b-index-tree-zy',
            meta: {
              title: '专业分类/专业',
              affix: true
            }
          }
          ]
        }
        ],
          meta: {
    title: '招聘网配置',
      icon: 'iconfont iconxitongguanli',
        affix: true
  }
},

// 内容管理
{
  meta: {
    title: '系统管理',
      icon: 'iconfont iconneirongguanli',
        affix: true
  },
  path: '/sys-management/role/list',
    component: Layout,
      children: [{
        meta: {
          title: '日志管理',
          affix: true
        }, // meta: { title: '集团动态', affix: true }
        path: '/sys-management/log/list',
        // query: {
        //   channelId: 'group'
        // },
        component: () =>
          import('@/views/sys-management/log/list'),
        name: 'sys-management_log_list'

      },
      {
        meta: {
          title: '角色管理',
          affix: true
        }, // meta: { title: '集团动态', affix: true }
        path: '/sys-management/role/list',
        // query: {
        //   channelId: 'group'
        // },
        component: () =>
          import('@/views/sys-management/role/list'),
        name: 'sys-management_role_list'

      },

      {
        path: '/sys-management/menu/list',
        component: () =>
          import('@/views/sys-management/menu/list'),
        name: 'management_menu_list',
        meta: {
          title: '菜单管理',
          affix: true
        }
      },
      {
        path: '/sys-management/dict/list',
        component: () =>
          import('@/views/sys-management/dict/list'),
        name: 'management_dict_list',
        meta: {
          title: '字典管理',
          affix: true
        }
      }
        // ,
        // {
        //   path: 'reportList',
        //   query: {
        //     channelId: 'report'
        //   },
        //   component: () =>
        //     import('@/views/content-management/list'),
        //   name: 'industry-data-report',
        //   meta: {
        //     title: '字典管理（未完成）',
        //     affix: true
        //   }
        // }
      ]

}